.home {
  display: flex;
}

.home-content {
  height: calc(100vh - 100px);
  overflow-y: scroll;
  scrollbar-width: thin;
  scrollbar-color: #e2e8f0 transparent;
  width: 100%;
}
.home {
  display: flex;
  height: 100%;
}

.home-content {
  flex: 1;
  padding: 24px;
  background: #f0f2f5;
  overflow-y: auto;
  height: calc(100vh - 100px);
}

.filter-bar {
  margin-bottom: 24px;
  padding: 16px;
  background: #fff;
  border-radius: 8px;
}

.filter-bar-sort {
  display: flex;
  align-items: center;
}

.filter-bar-label {
  margin-right: 12px;
  color: #666;
  font-size: 14px;
}

.chart-list {
  border-radius: 8px;
}

.chart-item {
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.chart-item:last-child {
  border-bottom: none;
}

.chart-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chart-info h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #333;
}

.chart-meta {
  display: flex;
  gap: 16px;
  color: #666;
  font-size: 14px;
}

.chart-meta .type {
  color: #1890ff;
}

.load-more {
  padding: 16px;
  text-align: center;
}

.load-more-text {
  color: #999;
  font-size: 14px;
}

/* 新增状态样式 */
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  text-align: center;
}

.loading-text {
  margin-top: 16px;
  color: #666;
  font-size: 14px;
}

.empty-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  text-align: center;
}

.empty-text {
  color: #999;
  font-size: 16px;
}

.error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  text-align: center;
  background: #fff;
  border-radius: 8px;
  margin: 16px 0;
  padding: 24px;
}

.error-text {
  margin-bottom: 16px;
  color: #ff4d4f;
  font-size: 14px;
}
